package com.dm.cloud.core.mode;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author sg
 * @ClassName BaseDTO.java
 * @desc
 * @Date 2021/08/18 17:46
 */

@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "基础对象")
public abstract class BaseDTO implements Serializable {

    /**
     * 物理标识
     */
    @Schema(description= "物理主键标识")
    private String id;

    /**
     * 创建用户
     */
    @Schema(description = "创建用户")
    private String createUser;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private Date createTime;

    /**
     * 上次修改用户
     */
    @Schema(description = "上次修改用户")
    private String updateUser;

    /**
     * 上次修改时间
     */
    @Schema(description = "上次修改时间")
    private Date updateTime;


}
